package com.hms.services;

import java.util.List;

import com.hibernate.beans.Ptnt;
import com.hms.dao.PatientDAO;
import com.hms.vo.beans.PatientQueryCriteriaVO;
import com.hms.vo.beans.PatientVO;

public class PatientInfoSrvc {
	private PatientDAO patientDAO;

	public PatientDAO getPatientDAO() {
		return patientDAO;
	}

	public void setPatientDAO(PatientDAO patientDAO) {
		this.patientDAO = patientDAO;
	}

	public List<PatientVO> getPatient(PatientQueryCriteriaVO ptntQueryCriteria) {
		
		List<Ptnt> patientQueryResults = patientDAO.searchPatient(ptntQueryCriteria);
		//TODO :  Convert DB Ptnt.java Object to UI Patient.java object
		System.out.println("got the results back ===> "  + patientQueryResults);
		
		return null;
	}

	public boolean addPatient(PatientVO patientVO) {
		// TODO Auto-generated method stub
		return false;
	}
	
}
